/*
 * 这个类是测点类的实体类，包含测点对应的所有属性
*/

#ifndef TEMPERATUREMEASURINGTAGENTITY_H
#define TEMPERATUREMEASURINGTAGENTITY_H

#include <QObject>

class TemperatureMeasuringTagEntity : public QObject
{
    Q_OBJECT
public:
    explicit TemperatureMeasuringTagEntity(QObject *parent = nullptr);
    explicit TemperatureMeasuringTagEntity(QObject *parent = nullptr, int id=0, QString tagName="", QString tagCode="",
                                           QString tagDesc="", QString tagArea="",int tagRegeneratorNo=0, int tagLowLimitation=0,
                                           int tagHighLimiation=0, QString tagExchange="", int tagStatus=0, int tagInvolveCalculation=0,
                                           int tagInWorkingProcess=0);

    int getId() const;
    void setId(int newId);

    const QString &getTagName() const;
    void setTagName(const QString &newTagName);

    const QString &getTagDesc() const;
    void setTagDesc(const QString &newTagDesc);

    const QString &getTagCode() const;
    void setTagCode(const QString &newTagCode);

    const QString &getTagArea() const;
    void setTagArea(const QString &newTagArea);

    int getTagRegeneratorNo() const;
    void setTagRegeneratorNo(int newTagRegeneratorNo);

    int getTagLowLimitation() const;
    void setTagLowLimitation(int newTagLowLimitation);

    int getTagHighLimiation() const;
    void setTagHighLimiation(int newTagHighLimiation);

    const QString &getTagExchange() const;
    void setTagExchange(const QString &newTagExchange);

    int getTagStatus() const;
    void setTagStatus(int newTagStatus);

    int getTagInvolveCalculation() const;
    void setTagInvolveCalculation(int newTagInvolveCalculation);

    int getTagInWorkingProcess() const;
    void setTagInWorkingProcess(int newTagInWorkingProcess);

signals:
public slots:
private:
    int id;
    QString tagName;
    QString tagCode;
    QString tagDesc;
    QString tagArea;
    int tagRegeneratorNo;
    int tagLowLimitation;
    int tagHighLimiation;
    QString tagExchange;
    int tagStatus;
    int tagInvolveCalculation;
    int tagInWorkingProcess;
};

#endif // TEMPERATUREMEASURINGTAGENTITY_H
